package com.wao.cms.repository;

import com.wao.cms.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Spring Data JPA repository for the Page entity.
 */
@SuppressWarnings("unused")
@Repository
public interface PageRepository extends JpaRepository<Page, Long> {

    org.springframework.data.domain.Page<Page> findByWebsiteIdAndNameLikeAndUrlLike(
            Long websiteId, String name, String url, Pageable pageable);
}
